package com.example.myprojecth.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.example.myprojecth.pojo.User;

@Mapper
@Repository
public interface UserMapper {
    User queryUserCount(String  id);

    void addUser(User user);

    float getBNI(String name);

    void updateBNI(@Param("bni")float bni, @Param("name") String name);

    String selectPWD(String name);

}
